package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.hns.can.common.entity.BaseEntity;

/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:JeffXu
 * @version Revision 1.0.0
 * @email:835264047@qq.com
 * @see:
 * @创建日期：2014-11-27
 * @功能说明：维保管理 - 实体
 * @begin
 * @修改记录:
 * @修改后版本          修改人      	修改内容
 * @2014-11-27  	         JeffXu        	创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_APP_CAR_MAINTEN_INFO")
public class AppCarMaintenInfoEntity extends BaseEntity implements java.io.Serializable {
    
    // Fields
    @Id
    @Column(name = "MAINTEN_ID")
    private String     maintenId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "ORGAN_ID")
    private String     organId;
    
    @Column(name = "CAR_ID")
    private String     carId;
    
    @Column(name = "MAINTEN_DATE")
    private String     maintenDate;
    
    @Column(name = "MAINTEN_CGY")
    private String     maintenCgy;
    
    @Column(name = "MAINTEN_MILE")
    private BigDecimal maintenMile;
    
    @Column(name = "MAINTEN_PLACE")
    private String     maintenPlace;
    
    @Column(name = "MAINTEN_FEE")
    private BigDecimal maintenFee;
    
    @Column(name = "MAINTEN_WORKHOURS")
    private BigDecimal maintenWorkhours;
    
    @Column(name = "OPR")
    private String     opr;
    
    @Column(name = "MAINTEN_CNTNT")
    private String     maintenCntnt;
    
    @Column(name = "REMARK")
    private String     remark;
    
    @Column(name = "CRT_TIME")
    private Date       crtTime;
    
    @Column(name = "CRT_USER")
    private String     crtUser;
    
    @Column(name = "UPDATE_TIME")
    private Date       updateTime;
    
    @Column(name = "UPDATE_USER")
    private String     updateUser;
    
    @Transient
    private String lineId;
    
    @Transient
    private String licPltNo;
    
    @Transient
    private String lineName;
    
    @Transient
    private String organName;
    
    @Transient
    private String lastMaintenDate;
    
    @Transient
    private BigDecimal rngMile;
    
    @Transient
    private BigDecimal rngEnerCons;
    
    @Transient
    private String rngOprtDura;
    
    @Transient
    private BigDecimal totalMile;
    
    @Transient
    private BigDecimal totalEnerCons;
    
    @Transient
    private String totalOprtDura;
    
    @Transient
    private BigDecimal carMftCount;
    
    // Constructors
    
    /** default constructor */
    public AppCarMaintenInfoEntity() {
    }
    
    // Property accessors
    
    public String getMaintenId() {
        return this.maintenId;
    }
    
    public void setMaintenId(String maintenId) {
        this.maintenId = maintenId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getMaintenDate() {
        return this.maintenDate;
    }
    
    public void setMaintenDate(String maintenDate) {
        this.maintenDate = maintenDate;
    }
    
    public String getMaintenCgy() {
        return this.maintenCgy;
    }
    
    public void setMaintenCgy(String maintenCgy) {
        this.maintenCgy = maintenCgy;
    }
    
    public BigDecimal getMaintenMile() {
        return this.maintenMile;
    }
    
    public void setMaintenMile(BigDecimal maintenMile) {
        this.maintenMile = maintenMile;
    }
    
    public String getMaintenPlace() {
        return this.maintenPlace;
    }
    
    public void setMaintenPlace(String maintenPlace) {
        this.maintenPlace = maintenPlace;
    }
    
    public BigDecimal getMaintenFee() {
        return this.maintenFee;
    }
    
    public void setMaintenFee(BigDecimal maintenFee) {
        this.maintenFee = maintenFee;
    }
    
    public BigDecimal getMaintenWorkhours() {
        return this.maintenWorkhours;
    }
    
    public void setMaintenWorkhours(BigDecimal maintenWorkhours) {
        this.maintenWorkhours = maintenWorkhours;
    }
    
    public String getOpr() {
        return this.opr;
    }
    
    public void setOpr(String opr) {
        this.opr = opr;
    }
    
    public String getMaintenCntnt() {
        return this.maintenCntnt;
    }
    
    public void setMaintenCntnt(String maintenCntnt) {
        this.maintenCntnt = maintenCntnt;
    }
    
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getLicPltNo() {
        return licPltNo;
    }

    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getLastMaintenDate() {
        return lastMaintenDate;
    }

    public void setLastMaintenDate(String lastMaintenDate) {
        this.lastMaintenDate = lastMaintenDate;
    }

    public BigDecimal getRngMile() {
        return rngMile;
    }

    public void setRngMile(BigDecimal rngMile) {
        this.rngMile = rngMile;
    }

    public BigDecimal getRngEnerCons() {
        return rngEnerCons;
    }

    public void setRngEnerCons(BigDecimal rngEnerCons) {
        this.rngEnerCons = rngEnerCons;
    }

    public BigDecimal getTotalMile() {
        return totalMile;
    }

    public void setTotalMile(BigDecimal totalMile) {
        this.totalMile = totalMile;
    }

    public BigDecimal getTotalEnerCons() {
        return totalEnerCons;
    }

    public void setTotalEnerCons(BigDecimal totalEnerCons) {
        this.totalEnerCons = totalEnerCons;
    }

    public BigDecimal getCarMftCount() {
        return carMftCount;
    }

    public void setCarMftCount(BigDecimal carMftCount) {
        this.carMftCount = carMftCount;
    }

    public String getRngOprtDura() {
        return rngOprtDura;
    }

    public void setRngOprtDura(String rngOprtDura) {
        this.rngOprtDura = rngOprtDura;
    }

    public String getTotalOprtDura() {
        return totalOprtDura;
    }

    public void setTotalOprtDura(String totalOprtDura) {
        this.totalOprtDura = totalOprtDura;
    }
    
}
